<template>
  <ul class="nav-ul">
    <li class="list-li" :class="collecttype==1?'active':''"><router-link :to="{name:'Collection'}">商品</router-link>  <i class="icon"></i></li>
    <li class="list-li" :class="collecttype==2?'active':''"><router-link :to='{name:"Company_sc"}'>商家</router-link> <i class="icon"></i></li>
    <li class="list-li" :class="collecttype==3?'active':''"><router-link :to='{name:"Collecyion_card"}'>卡券</router-link><i class="icon"></i></li>
  </ul>
</template>

<script>
export default {
  props: {
    collecttype: Number
  },
	data () {
    return {

    }
	},
	created:function(){

  },
	methods: {

	},
	mounted:function(){

	}
}
</script>
